package cn.hl.sfzy.mapper;

import cn.hl.sfzy.entity.Systemuser;
import cn.hl.sfzy.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName UserMapper
 * @Description TOOO
 * @Author Lilysi
 * @Date 2024//10//23//14:35
 * @Version 1.0
 */
public interface UserMapper {
    User selectByUsernameAndPassword(@Param("username") String username, @Param("password") String password);

    List<User> select(User user);
    int insert(User user);
    int update(User user);
    int delete(Long id);
    User selectById(Long id);
    List<User> selectAll();

}
